QuickTime 3 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Edge Detection Filter

kEdgeDetectImageFilterType ('edge')

This effect applies an edge detection convolution to a single source. The performance of the edge detection is determined by the convolution kernel. This is a matrix of values applied to each pixel of the source to produce the resulting image.

Example:

This effect takes a maximum of one source, and has two parameters.

Parameters

Use the descriptions below to help you understand what the parameters do. To learn how to use parameter atoms, see "Adding Video Effects to a QuickTime Movie"

Name

Code

QTAtom Type

Description

Edge thickness

'ksiz'

kParameterTypeDataEnum

The size of the kernel to apply. This value must be one of 3, 5, 7, 9, 11, 13 or 15. Larger kernels will produce thicker edges in the resulting image.

Colorize

'colz'

kParameterTypeDataBitField

If this parameter is set to true, the color of the edges produced by the effect are based on the color of the source pixels around them. Otherwise, edges are rendered as light grey against a dark grey background.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |